 
package com.xbongbong.sys.domain.entity;

import java.util.Date;
import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.ToString;

@ToString
public class AlipayNotifyEntity extends Entity {

	/** Comment for <code>serialVersionUID</code> */
	private static final long serialVersionUID = -1L;
	 
	//========== properties ==========
	
	//
	private Long id;
	//成功标识
	private String isSuccess;
	//签名方式 DSA、RSA、MD5三个值可选，必须大写
	private String signType;
	//签名
	private String sign;
	//通知校验ID
	private String notifyId;
	//通知类型
	private String notifyType;
	//通知时间
	private Date notifyTime;
	//商户网站唯一订单号
	private String outTradeNo;
	//商品名称
	private String subject;
	//支付类型
	private String paymentType;
	//接口名称
	private String exterface;
	//支付宝交易号
	private String tradeNo;
	//交易状态
	private String tradeStatus;
	//交易创建时间
	private Date gmtCreate;
	//交易付款时间
	private Date gmtPayment;
	//交易关闭时间
	private Date gmtClose;
	//退款时间
	private Date gmtRefund;
	//退款状态
	private String refundStatus;
	//卖家支付宝账号
	private String sellerEmail;
	//买家支付宝账号
	private String buyerEmail;
	//卖家支付宝账户号
	private String sellerId;
	//买家支付宝账户号
	private String buyerId;
	//交易金额
	private Double totalFee;
	//商品单价
	private Double price;
	//商品描述
	private String body;
	//公用回传参数
	private String extraCommonParam;
	//信用支付购票员的代理人ID
	private String agentUserId;
	//支付渠道组合信息
	private String outChannelType;
	//支付金额组合信息
	private String outChannelAmount;
	//实际支付渠道
	private String outChannelInst;
	//购买数量
	private Integer quantity;
	//折扣
	private Double discount;
	//是否使用红包买家
	private String useCoupon;
	//是否调整总价
	private String isTotalFeeAdjust;

    //========== getters and setters ==========
    
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	public String getIsSuccess() {
		return isSuccess;
	}
	
	public void setIsSuccess(String isSuccess) {
		this.isSuccess = isSuccess;
	}
	public String getSignType() {
		return signType;
	}
	
	public void setSignType(String signType) {
		this.signType = signType;
	}
	public String getSign() {
		return sign;
	}
	
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getNotifyId() {
		return notifyId;
	}
	
	public void setNotifyId(String notifyId) {
		this.notifyId = notifyId;
	}
	public String getNotifyType() {
		return notifyType;
	}
	
	public void setNotifyType(String notifyType) {
		this.notifyType = notifyType;
	}
	public Date getNotifyTime() {
		return notifyTime;
	}
	
	public void setNotifyTime(Date notifyTime) {
		this.notifyTime = notifyTime;
	}
	public String getOutTradeNo() {
		return outTradeNo;
	}
	
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	public String getSubject() {
		return subject;
	}
	
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getPaymentType() {
		return paymentType;
	}
	
	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}
	public String getExterface() {
		return exterface;
	}
	
	public void setExterface(String exterface) {
		this.exterface = exterface;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public String getTradeStatus() {
		return tradeStatus;
	}
	
	public void setTradeStatus(String tradeStatus) {
		this.tradeStatus = tradeStatus;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtPayment() {
		return gmtPayment;
	}
	
	public void setGmtPayment(Date gmtPayment) {
		this.gmtPayment = gmtPayment;
	}
	public Date getGmtClose() {
		return gmtClose;
	}
	
	public void setGmtClose(Date gmtClose) {
		this.gmtClose = gmtClose;
	}
	public Date getGmtRefund() {
		return gmtRefund;
	}
	
	public void setGmtRefund(Date gmtRefund) {
		this.gmtRefund = gmtRefund;
	}
	public String getRefundStatus() {
		return refundStatus;
	}
	
	public void setRefundStatus(String refundStatus) {
		this.refundStatus = refundStatus;
	}
	public String getSellerEmail() {
		return sellerEmail;
	}
	
	public void setSellerEmail(String sellerEmail) {
		this.sellerEmail = sellerEmail;
	}
	public String getBuyerEmail() {
		return buyerEmail;
	}
	
	public void setBuyerEmail(String buyerEmail) {
		this.buyerEmail = buyerEmail;
	}
	public String getSellerId() {
		return sellerId;
	}
	
	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}
	public String getBuyerId() {
		return buyerId;
	}
	
	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}
	public Double getTotalFee() {
		return totalFee;
	}
	
	public void setTotalFee(Double totalFee) {
		this.totalFee = totalFee;
	}
	public Double getPrice() {
		return price;
	}
	
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getBody() {
		return body;
	}
	
	public void setBody(String body) {
		this.body = body;
	}
	public String getExtraCommonParam() {
		return extraCommonParam;
	}
	
	public void setExtraCommonParam(String extraCommonParam) {
		this.extraCommonParam = extraCommonParam;
	}
	public String getAgentUserId() {
		return agentUserId;
	}
	
	public void setAgentUserId(String agentUserId) {
		this.agentUserId = agentUserId;
	}
	public String getOutChannelType() {
		return outChannelType;
	}
	
	public void setOutChannelType(String outChannelType) {
		this.outChannelType = outChannelType;
	}
	public String getOutChannelAmount() {
		return outChannelAmount;
	}
	
	public void setOutChannelAmount(String outChannelAmount) {
		this.outChannelAmount = outChannelAmount;
	}
	public String getOutChannelInst() {
		return outChannelInst;
	}
	
	public void setOutChannelInst(String outChannelInst) {
		this.outChannelInst = outChannelInst;
	}
	public Integer getQuantity() {
		return quantity;
	}
	
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public Double getDiscount() {
		return discount;
	}
	
	public void setDiscount(Double discount) {
		this.discount = discount;
	}
	public String getUseCoupon() {
		return useCoupon;
	}
	
	public void setUseCoupon(String useCoupon) {
		this.useCoupon = useCoupon;
	}
	public String getIsTotalFeeAdjust() {
		return isTotalFeeAdjust;
	}
	
	public void setIsTotalFeeAdjust(String isTotalFeeAdjust) {
		this.isTotalFeeAdjust = isTotalFeeAdjust;
	}

}

